<template>
  <el-form label-position="left" label-width="124px" ref="diaForm"
           :model="data">
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="开始孵化日期：" prop="hatchStartTime">
          <el-input size="small" v-model="data.hatchStartTime"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="批次：" prop="batch">
          <el-input size="small" v-model="data.batch"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="组别：" prop="wormGroup">
          <el-input size="small" v-model="data.wormGroup"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="序号：" prop="temp4">
          <el-input size="small" v-model="data.temp4"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="辅料（种类）" prop="fuliaoName">
          <el-input size="small" v-model="data.fuliaoName"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="辅料（g）" prop="fuliaoWeight">
          <el-input size="small" v-model="data.fuliaoWeight"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="水（g）" prop="waterWeight">
          <el-input size="small" v-model="data.waterWeight"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="虫卵重量（g）" prop="eggWeight">
          <el-input size="small" v-model="data.eggWeight"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="备注：" prop="remark">
          <el-input size="small" v-model="data.remark"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
  </el-form>
</template>

<script>
export default {
  name: 'editForm',
  props: {
    data: { type: Object }
  },
  data () {
    return {
    }
  },
  computed: {
    // whichFerment () {
    //   return this.data.fermentMaterialWeight1 > 0 ? this.fermentMaterialWeight1 : this.fermentMaterialWeight2
    // },
    // whichFuliao () {
    //   return this.data.fuliaoWeight1 > 0 ? this.fuliaoWeight1 : this.fuliaoWeight2
    // }
  }
}
</script>

<style scoped>

</style>
